home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / sparc / sp64-aout.h < prev    next >
C/C++ Source or Header  |  1994-06-15  |  2KB  |  50 lines

  1. /* Definitions of target machine for GNU compiler,
  2.    for Sun SPARC-V9 on a hypothetical a.out format machine.
  3.    Copyright (C) 1994 Free Software Foundation, Inc.
  4.    Contributed by Doug Evans, dje@cygnus.com.
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  21.  
  22. /* This is a v9 only compiler.  -mv8 is not expected to work.  If you want
  23.    a v8/v9 compiler, this isn't the place to do it.  */
  24. /* ??? Until real v9 machines exist, all of this is subject to change.  */
  25. /* ??? This file should really be called sp64-sunos4.h or some such but that
  26.    would be a bit misleading since no such machines exist yet.  The current
  27.    name is also misleading since the term "aout" is more properly applied to
  28.    embedded configurations.  */
  29.  
  30. #define SPARCV9 /* See sparc.h.  */
  31.  
  32. #include "sparc/sparc.h"
  33.  
  34. /* A v9 compiler with 32 bit integers and 64 bit pointers,
  35.    in a Medium/Low code model with only 32 bit assembler support.  */
  36.  
  37. #undef TARGET_DEFAULT
  38. #define TARGET_DEFAULT \
  39.   (MASK_V9 + MASK_MEDLOW + MASK_ENV32 + MASK_PTR64 + MASK_HARD_QUAD + MASK_EPILOGUE + MASK_FPU)
  40.  
  41. /* ??? Disabled for v9 as the current implementation of the Medium/Anywhere
  42.    code model needs this in the data segment (still true?).  Let's hope the
  43.    assembler is fixed.  */
  44. #undef JUMP_TABLES_IN_TEXT_SECTION
  45.  
  46. /* Put all data in the data segment (necessary for the current implementation
  47.    of the Medium/Anywhere code model - see if still true).  */
  48.  
  49. #define READONLY_DATA_SECTION data_section
  50.